﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CEOSignOff.aspx.cs" Inherits="KorleBu.CEOSignOff" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>CEO Signoff - <%= description %></title>
    <link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body class="printer">
    <form id="form1" runat="server">
        <asp:Panel runat="server" ID="pnlPrinter" Width="700px">
            <asp:Panel runat="server" ID="pnlContent" Width="100%" CssClass="printDiv">
                <table id="CreateRequest" class="printTable">
                    <tr>
                        <td class="blackLabel" style="border-width:thin; border-style:solid; border-color:Black;">
                            <strong>Requisition ID:</strong>
                            <asp:Label CssClass="blackLabel" ID="lblViewRequisitionID" runat="server"></asp:Label>
                        </td>
                        <td class="blackLabel" style="border-width:thin; border-style:solid; border-color:Black;">
                            <strong>Requisition Submit Date:</strong>
                            <asp:Label CssClass="blackLabel" ID="lblViewRequisitionDate" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="blackLabel" colspan="2" style="border-width:thin; border-style:solid; border-color:Black;">
                            <strong>Description:</strong>
                            <asp:Label CssClass="blackLabel" ID="lblViewDescription" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>

                <br />

                <asp:GridView ID="gvViewRequisitionItems" runat="server" AutoGenerateColumns="False" Width="100%">
                    <RowStyle HorizontalAlign="Right" VerticalAlign="Middle" />
                    <Columns>
                        <%--<asp:BoundField DataField="ItemID" HeaderText="Item ID" />--%>
                        <asp:BoundField DataField="ItemName" HeaderText="Item Name" />
                        <asp:BoundField DataField="SubUnitName" HeaderText="Requesting Store" />
                        <asp:BoundField DataField="RequisitionQty" HeaderText="Qty Ordered" />
                        <asp:BoundField DataField="TotalQuantity" HeaderText="Total Qty In Stock" />
                    </Columns>
                </asp:GridView>

                <br /><br />

                <asp:Label runat="server" ID="lblSigLine" CssClass="blackLabel"><%= sigLine %></asp:Label>
                <asp:Label runat="server" ID="lblDateLine" CssClass="blackLabel"><%= dateLine %></asp:Label>

                <br /><br />

                <input class="hideOnPrint" type="button" value="Print" onclick="window.print(); return false;" />
        
                <asp:Label CssClass="hideOnPrint" runat="server" ID="lblMasterError" />
            </asp:Panel>
        </asp:Panel>
    </form>
</body>
</html>
